//
//  WxLogin.swift
//  imprint
//
//  Created by 小柠檬🍋 on 2025/1/11.
//

import Foundation
import SwiftUI

class AliDiaryImpl : DiaryProtocol {
    
    func queryHomeDiary(userId: String, startTime: Int64, endTime: Int64, keyword: String?, pageNo: Int, pageSize: Int) async throws -> [DiaryBean] {
        []
    }
    
    func queryDiaryAi(userId:String, roleId:String, keyword:String?, pageNo:Int, pageSize:Int) async throws -> [DiaryBean] {
        []
    }
    
    func queryStatisticsDiary(userId: String, curTime: TimeInterval, endTime: TimeInterval, isPicture: Bool) async throws  -> [DiaryBean] {
        []
    }
    
    func queryDiaryLately(userId: String, pageNo: Int, pageSize: Int) async throws -> [DiaryBean] {
        []
    }
    
    
    func queryDiaryUpdateAll(userId: String, pageNo: Int, pageSize: Int) async throws -> [DiaryBean] {
        []
    }
    
    func queryTag(userId: String, tagId: String?, pageNo: Int, pageSize: Int) async throws -> [DiaryBean] {
        []
    }
    
    
    func queryMemoryDiary(aiUserId: String?, userId: String, pageNo: Int, pageSize: Int) async throws -> [DiaryBean] {
        []
    }
    
    func saveDiary(bean: DiaryBean) async throws {
    }
    
    func delDiary(bean: DiaryBean) async throws {
        
    }
    
    func deleteChatList(beans: [ChatBean]) async throws {
        
    }
    
    func saveCloudPicture(bean: CloudPictureBean) async throws {
        
    }
    
    func delCloudPicture(bean: CloudPictureBean) async throws {
        
    }
    
    func getTagList() async throws -> [TagBean] {
        []
    }
    
    func queryPicture(diaryId: String, userId: String, limit: Int) async throws -> [CloudPictureBean] {
        []
    }
    
    func queryDiaryComment(diaryId: String, pageNo: Int, pageSize: Int) async throws -> [DiaryCommentBean] {
        []
    }
    
    func queryDiaryComment(diaryId: String, aiRoleId: String, pageNo: Int, pageSize: Int) async throws -> [DiaryCommentBean] {
        []
    }
    
    func queryDiaryLast(diaryId: String,aiRoleId: String)  async throws -> DiaryCommentBean? {
        nil
    }
    
    func addDiaryComment(bean: DiaryCommentBean) async throws  -> DiaryCommentBean? {
        return nil
    }
    
    
    func deleteDiaryComment(bean: DiaryCommentBean) async throws {
        
    }
    
    
    func queryWeekLetter(userId: String, pageNo: Int, pageSize: Int) async throws -> [WeeklyLetterBean] {
        []
    }
    
    func updateLastWeekLetter(bean: WeeklyLetterBean) async throws -> WeeklyLetterBean {
        return bean
    }
    
    func deleteLastWeekLetter(bean: WeeklyLetterBean) async throws {
        
    }
    
    func queryActiveCall(userId: String, pageNo: Int, pageSize: Int) async throws -> [CallHistoryBean] {
        []
    }
    
    func deleteActiveCall(bean: CallHistoryBean) async throws {
        
    }
    
    func updateActiveCall(bean: CallHistoryBean) async throws {
        
    }
    
    func existTask(timeKey: String, roleId: String?, userId: String, type: Int) async throws -> Bool {
        return false
    }
    
    func saveTask(bean: TaskBean) async throws -> TaskBean? {
        return nil
    }
    
    func getLatelyTask(roleId: String?, userId: String, type: Int, pageSize: Int) async throws -> [TaskBean] {
        []
    }
    
    func getUnExecutedTask(roleId: String?, userId: String, type: Int?) async throws -> [TaskBean] {
        []
    }
    
    func deleteTask(bean: TaskBean) async throws {
        
    }
    
    
    func queryChat(objectId: String) async throws -> ChatBean? {
        nil
    }
    
    
    func queryChat(pageNo: Int, pageSize: Int) async throws -> [ChatBean] {
        []
    }
    
    func queryChat(aiUserId: String, userId: String, pageNo: Int, pageSize: Int) async throws -> [ChatBean] {
        []
    }
    
    
    func queryChat(aiUserId: String, userId: String, isRefresh: Bool, timestamp: Int64, pageSize: Int) async throws -> [ChatBean] {
        []
    }
    
    
    func queryNewChat(aiUserId: String, userId: String) async throws -> ChatBean? {
        nil
    }
    
    func queryMemoryChat(aiUserId: String, userId: String, pageNo: Int, pageSize: Int) async throws -> [ChatBean] {
        []
    }
    
    func addChat(bean: ChatBean) async throws -> ChatBean {
        return bean
    }
    
    func saveChat(bean: ChatBean) async throws {
        
    }
    
    func saveChat(list: [ChatBean]) async throws {
        
    }
    
    func clearChat(aiUserId: String, userId: String) async throws {
        
    }
    
    func deleteChat(bean: ChatBean) async throws {
        
    }
    
    func getEmojiPictureList() async throws -> [EmojiPictureBean] {
        []
    }
    
    func addEmojiPicture(bean: EmojiPictureBean) async throws -> EmojiPictureBean {
        EmojiPictureBean()
    }
    
    func saveEmojiPicture(bean: EmojiPictureBean) async throws {
        
    }
    
    func deleteEmojiPicture(bean: EmojiPictureBean) async throws {
        
    }
    
    func queryNewChatMemory(aiRoleId: String, userId: String) async throws -> [AiMemoryBean] {
        []
    }
    
    func queryMyNewChatMemory(userId: String) async throws -> [AiMemoryBean] {
        []
    }
    
    func addMemory(bean: AiMemoryBean) async throws {
    }
}
